package orderoid.soap.classeCommune;

import java.io.Serializable;
import java.util.Collection;


public class Adresse implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer idAdresse;
    private String adresse;
    private String adresseComplement;
    private String codePostal;
    private String ville;
    private Client idClient;
    private Collection<Commande> commandeCollection;

    public Adresse() {
    }

    public Adresse(Integer idAdresse) {
        this.idAdresse = idAdresse;
    }

    public Adresse(Integer idAdresse, String adresse, String adresseComplement, String codePostal, String ville) {
        this.idAdresse = idAdresse;
        this.adresse = adresse;
        this.adresseComplement = adresseComplement;
        this.codePostal = codePostal;
        this.ville = ville;
    }

    public Integer getIdAdresse() {
        return idAdresse;
    }

    public void setIdAdresse(Integer idAdresse) {
        this.idAdresse = idAdresse;
    }

    public String getAdresse() {
        return adresse;
    }

    public void setAdresse(String adresse) {
        this.adresse = adresse;
    }

    public String getAdresseComplement() {
        return adresseComplement;
    }

    public void setAdresseComplement(String adresseComplement) {
        this.adresseComplement = adresseComplement;
    }

    public String getCodePostal() {
        return codePostal;
    }

    public void setCodePostal(String codePostal) {
        this.codePostal = codePostal;
    }

    public String getVille() {
        return ville;
    }

    public void setVille(String ville) {
        this.ville = ville;
    }

    public Client getIdClient() {
        return idClient;
    }

    public void setIdClient(Client idClient) {
        this.idClient = idClient;
    }

    public Collection<Commande> getCommandeCollection() {
        return commandeCollection;
    }

    public void setCommandeCollection(Collection<Commande> commandeCollection) {
        this.commandeCollection = commandeCollection;
    }
}
